package com.example.lotterysystem.dao.dataobject;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.ibatis.annotations.Insert;


@Data
@EqualsAndHashCode(callSuper = true) // 继承父类属性
public class UserDO extends BaseDO {

    // 用户名
    private String userName;
    // 密码
    private String password;
    // 邮箱
    private String email;
    // 手机号
    private Encrypt phoneNumber;
    // 身份信息
    private String identity;



    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Encrypt getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(Encrypt phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }
}
